package o2o.dao.PO.sys;


import lombok.Data;
import lombok.experimental.Accessors;

//系统配置-支付
@Data
@Accessors(chain = true)
public class SysConfigPay {

    private Long id;// ID
    private String sysAppKey;          //项目标识
    private String appFlag;               //子项目标识

    private Long agentId;               //代理id

    private String paySubject;       //  支付标题
    private String payContent;        //支付内容
    private String aliPartner;           //支付宝 partner
    private String aliSellerId;          // 支付宝 seller_id
    private String aliPrivateKey;      //支付宝 商户的私钥
    private String aliPublicKey;        //支付宝 支付宝的公钥
    private String aliAppId;            /// 支付宝 app_id
    private String aliGateway;         //支付宝 ALIPAY_GATEWAY_NEW
    private String aliNotifyUrl;       // 支付宝 notify_url
    private String aliSignType;       // 支付宝 sign_type

    //app支付
    private String wxAppId;           // 微信 appid
    private String wxApiKey;          // 微信 apiKey
    private String wxAppSecret;       // 微信app secret
    private String wxMchId;           //微信 mch_id
    private String wxNotifyUrl;       //微信 notify_url
    private String wxCertFilePath;//微信退款证书路径

    // 商家端微信支付
    private String wxShopAppId;           // 微信商家 appid
    private String wxShopApiKey;          // 微信商家 apiKey
    private String wxShopAppSecret;       // 微信商家 app secret
    private String wxShopMchId;           // 微信商家 mch_id

    // 骑手微信支付
    private String wxQsAppId;           // 微信骑手 appid
    private String wxQsApiKey;          // 微信骑手 apiKey
    private String wxQsAppSecret;       // 微信骑手app secret
    private String wxQsMchId;           //微信骑手 mch_id

    //公众号支付
    private String wxGzhAppId;               //微信公众号APPID
    private String wxGzhAppSecret;          //微信公众号的appSecret
    private String wxGzhApiKey;              //微信公众号的ApiKey
    private String wxGzhMchId;              //微信公众号的MchId
    private String wxGzhApiNotifyUrl;       //微信公众号的通知地址
    private String wxGzhCertFilePath;       //微信退款证书路径

    //小程序支付
    private String wxXcxAppId;          //微信小程序的appId
    private String wxXcxAppSecret;      //微信小程序的appSecret
    private String wxXcxMchId;      //微信小程序的MchId
    private String wxXcxApiKey;      //微信小程序的ApiKey
    private String wxXcxApiNotifyUrl;      //微信小程序的通知地址
    private String wxXcxCertFilePath;//微信退款证书路径

    //paypal
    private String ppClientId;//paypal支付ClientId
    private String ppClientSecret;//paypal支付ClientSecret
    private String ppCurrency;//paypal支付货币单位
    private String ppMode;//paypal支付mode
    private String ppLocalNotifyUrl;//paypal支付失败或成功后调用本地地址
    private String ppSuccessNotifyUrl;//paypal支付成功后调用地址
    private String ppCancelNotifyUrl;//paypal支付取消后调用地址

    //Strip
    private String stPublic;   //  Stripe的公钥
    private String stSecret;    //  stripe 的私钥
    private String stCurrency;   // stripe的货币单位
    private String stLocalUrl;   //  收集信用卡的地址
    private String stSuccessUrl;  // 成功后跳转地址

    // apacpay
    private String apacMerNo;   //  apacpay商户号  70089
    private String apacGatewayNo;   // apacpay 子账户     70089001
    private String apacCurrency;   // apacpay 货币类型  USD
    private String apacSignKey;   //  apacpay签名
    private String apacSignUrl;   // apacpay请求签名接口地址
    private String apacPayUrl;   // apacpay请求支付接口地址
    private String apacLocalUrl;   // apacpay支付页面地址
    private String apacLocalReturnUrl;   // apacpay支付页面返回地址
    private String apacLocalCancelUrl;   // apacpay支付页面返回地址
    private String apacNotifyUrl;   // apacpay支付回调地址
    private String apacCheckUrl;   // apacpay请求查询接口地址
    private String apacRefundUrl;   // apacpay请求退款接口地址

    // nihaopay
    private Integer nhpLive;   // nihaopay是正式版吗  0测试版 1正式版
    private String nhpToken;   // nihaopayToken
    private String nhpCurrency;   // nihaopay货币单位
    private String nhpNotifyUrl;   // nihaopay回调通知地址
    private Integer nhpUseRate;   // nihaopay是否需要系统换算汇率（日元时不需系统换算）1 需要换算 0不需要换算

    // paypay/linepay
    private Integer lpLive;         // paypay/linepay是正式版吗  0测试版 1正式版
    private String lpMid;           // paypay/linepay商户号MID
    private String lpKey;           // paypay/linepay签名密钥
    private String lpEncryKey;      // paypay/linepay加密密钥
    private Integer lpCurrency;      // paypay/linepay商户币种
    private String lpNotifyUrl;     // paypay/linepay回调通知地址

    // ksher
    private String ksMchId;   // 商户号
    private String ksCurrency;
    private String ksPublicKey;   // 公钥
    private String ksPrivateKey;
    private String ksNotifyUrl;   // 回调通知地
    private Integer ksUseRate;   // 是否要汇率转换

    // EasyEuro
    private String eeMchId;             // EasyEuro商户号
    private String eeApiKey;            // EasyEuroApiKey
    private String eeNotifyUrl;         // EasyEuro支付回调地址
    private Integer eeUseRate;         // EasyEuro是否需要汇率换算

    // Ciconpay
    private Integer ccLive;   // Ciconpay 正式环境、测试环境
    private String ccToken;   // CiconpayToken
    private String ccXcxToken;   // Ciconpay小程序Token
    private String ccCurrency;   // Ciconpay货币单位
    private String ccNotifyUrl;   // Ciconpay回调通知地址
    private String ccXcxNotifyUrl;   // Ciconpay回调通知地址
    private Integer ccUseRate;   // Ciconpay是否需要系统换算汇率 1 需要换算 0不需要换算



    private Integer isAliAble;//支付宝是否可用（1可用  0不可用）
    private Integer isWxAble;//微信支付是否可用（1可用，0不可用）
    private Integer isPaypalAble;//paypal支付是否可用（1可用，0不可用）
    private Integer isCDeliveryAble;// 是否可以货到付款
    private Integer isStripeAble;   //  Stripe是否可用(1可用，0不可用)
    private Integer isApacAble;   //  apacPay是否可用(1可用，0不可用)
    private Integer isWalletAble;   //  余额支付是否可用(1可用，0不可用)
    private Integer isWoPayAble;   // 联通沃支付是否可用（1可用，0不可用）
    private Integer isTransitAble;   // transit是否可用（1可以，0不可用）[天天生鲜对接的]
    private Integer isPaypayAble;     // paypay是否可用（1可用  0不可用）
    private Integer isLinepayAble;     // linepay是否可用（1可用  0不可用）

    private String showNote;//前台显示备注内容

    private int delFlag;// 是否已删除(0未删除,1已删除)
    private String createUser;// 创建者
    private Long createTime;// 创建日期 141231212423423时间戳毫秒级标识
    private String updateUser;// 最后更新着
    private Long updateTime;// 最后更新时间


    public String getWxQsAppId() {
        return wxQsAppId;
    }

    public void setWxQsAppId(String wxQsAppId) {
        this.wxQsAppId = wxQsAppId;
    }

    public String getWxQsApiKey() {
        return wxQsApiKey;
    }

    public void setWxQsApiKey(String wxQsApiKey) {
        this.wxQsApiKey = wxQsApiKey;
    }

    public String getWxQsAppSecret() {
        return wxQsAppSecret;
    }

    public void setWxQsAppSecret(String wxQsAppSecret) {
        this.wxQsAppSecret = wxQsAppSecret;
    }

    public String getWxQsMchId() {
        return wxQsMchId;
    }

    public void setWxQsMchId(String wxQsMchId) {
        this.wxQsMchId = wxQsMchId;
    }

    public String getWxAppSecret() {
        return wxAppSecret;
    }

    public SysConfigPay setWxAppSecret(String wxAppSecret) {
        this.wxAppSecret = wxAppSecret;
        return this;
    }

    public String getStPublic() {
        return stPublic;
    }

    public SysConfigPay setStPublic(String stPublic) {
        this.stPublic = stPublic;
        return this;
    }

    public Integer getIsStripeAble() {
        return isStripeAble;
    }

    public SysConfigPay setIsStripeAble(Integer isStripeAble) {
        this.isStripeAble = isStripeAble;
        return this;
    }

    public String getStSuccessUrl() {
        return stSuccessUrl;
    }

    public SysConfigPay setStSuccessUrl(String stSuccessUrl) {
        this.stSuccessUrl = stSuccessUrl;
        return this;
    }

    public String getStLocalUrl() {
        return stLocalUrl;
    }

    public SysConfigPay setStLocalUrl(String stLocalUrl) {
        this.stLocalUrl = stLocalUrl;
        return this;
    }

    public String getStCurrency() {
        return stCurrency;
    }

    public SysConfigPay setStCurrency(String stCurrency) {
        this.stCurrency = stCurrency;
        return this;
    }

    public String getStSecret() {
        return stSecret;
    }

    public SysConfigPay setStSecret(String stSecret) {
        this.stSecret = stSecret;
        return this;
    }

    public Integer getIsCDeliveryAble() {
        return isCDeliveryAble;
    }

    public SysConfigPay setIsCDeliveryAble(Integer isCDeliveryAble) {
        this.isCDeliveryAble = isCDeliveryAble;
        return this;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    public String getPaySubject() {
        return paySubject;
    }

    public void setPaySubject(String paySubject) {
        this.paySubject = paySubject;
    }

    public String getPayContent() {
        return payContent;
    }

    public void setPayContent(String payContent) {
        this.payContent = payContent;
    }

    public String getAliPartner() {
        return aliPartner;
    }

    public void setAliPartner(String aliPartner) {
        this.aliPartner = aliPartner;
    }

    public String getAliSellerId() {
        return aliSellerId;
    }

    public void setAliSellerId(String aliSellerId) {
        this.aliSellerId = aliSellerId;
    }

    public String getAliPrivateKey() {
        return aliPrivateKey;
    }

    public void setAliPrivateKey(String aliPrivateKey) {
        this.aliPrivateKey = aliPrivateKey;
    }

    public String getAliPublicKey() {
        return aliPublicKey;
    }

    public void setAliPublicKey(String aliPublicKey) {
        this.aliPublicKey = aliPublicKey;
    }

    public String getAliAppId() {
        return aliAppId;
    }

    public void setAliAppId(String aliAppId) {
        this.aliAppId = aliAppId;
    }

    public String getAliGateway() {
        return aliGateway;
    }

    public void setAliGateway(String aliGateway) {
        this.aliGateway = aliGateway;
    }

    public String getAliNotifyUrl() {
        return aliNotifyUrl;
    }

    public void setAliNotifyUrl(String aliNotifyUrl) {
        this.aliNotifyUrl = aliNotifyUrl;
    }

    public String getWxAppId() {
        return wxAppId;
    }

    public void setWxAppId(String wxAppId) {
        this.wxAppId = wxAppId;
    }

    public String getWxApiKey() {
        return wxApiKey;
    }

    public void setWxApiKey(String wxApiKey) {
        this.wxApiKey = wxApiKey;
    }

    public String getWxMchId() {
        return wxMchId;
    }

    public void setWxMchId(String wxMchId) {
        this.wxMchId = wxMchId;
    }

    public String getWxNotifyUrl() {
        return wxNotifyUrl;
    }

    public void setWxNotifyUrl(String wxNotifyUrl) {
        this.wxNotifyUrl = wxNotifyUrl;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getWxCertFilePath() {
        return wxCertFilePath;
    }

    public void setWxCertFilePath(String wxCertFilePath) {
        this.wxCertFilePath = wxCertFilePath;
    }


    public Integer getIsAliAble() {
        return isAliAble;
    }

    public void setIsAliAble(Integer isAliAble) {
        this.isAliAble = isAliAble;
    }

    public Integer getIsWxAble() {
        return isWxAble;
    }

    public void setIsWxAble(Integer isWxAble) {
        this.isWxAble = isWxAble;
    }

    public String getShowNote() {
        return showNote;
    }

    public void setShowNote(String showNote) {
        this.showNote = showNote;
    }

    public String getWxGzhAppId() {
        return wxGzhAppId;
    }

    public void setWxGzhAppId(String wxGzhAppId) {
        this.wxGzhAppId = wxGzhAppId;
    }

    public String getWxGzhAppSecret() {
        return wxGzhAppSecret;
    }

    public void setWxGzhAppSecret(String wxGzhAppSecret) {
        this.wxGzhAppSecret = wxGzhAppSecret;
    }

    public String getAliSignType() {
        return aliSignType;
    }

    public void setAliSignType(String aliSignType) {
        this.aliSignType = aliSignType;
    }

    public String getWxGzhApiKey() {
        return wxGzhApiKey;
    }

    public void setWxGzhApiKey(String wxGzhApiKey) {
        this.wxGzhApiKey = wxGzhApiKey;
    }

    public String getWxGzhMchId() {
        return wxGzhMchId;
    }

    public void setWxGzhMchId(String wxGzhMchId) {
        this.wxGzhMchId = wxGzhMchId;
    }

    public String getWxXcxAppId() {
        return wxXcxAppId;
    }

    public void setWxXcxAppId(String wxXcxAppId) {
        this.wxXcxAppId = wxXcxAppId;
    }

    public String getWxXcxAppSecret() {
        return wxXcxAppSecret;
    }

    public void setWxXcxAppSecret(String wxXcxAppSecret) {
        this.wxXcxAppSecret = wxXcxAppSecret;
    }

    public String getWxXcxMchId() {
        return wxXcxMchId;
    }

    public void setWxXcxMchId(String wxXcxMchId) {
        this.wxXcxMchId = wxXcxMchId;
    }

    public String getWxXcxApiKey() {
        return wxXcxApiKey;
    }

    public void setWxXcxApiKey(String wxXcxApiKey) {
        this.wxXcxApiKey = wxXcxApiKey;
    }

    public String getWxGzhApiNotifyUrl() {
        return wxGzhApiNotifyUrl;
    }

    public void setWxGzhApiNotifyUrl(String wxGzhApiNotifyUrl) {
        this.wxGzhApiNotifyUrl = wxGzhApiNotifyUrl;
    }

    public String getWxXcxApiNotifyUrl() {
        return wxXcxApiNotifyUrl;
    }

    public void setWxXcxApiNotifyUrl(String wxXcxApiNotifyUrl) {
        this.wxXcxApiNotifyUrl = wxXcxApiNotifyUrl;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public String getWxGzhCertFilePath() {
        return wxGzhCertFilePath;
    }

    public void setWxGzhCertFilePath(String wxGzhCertFilePath) {
        this.wxGzhCertFilePath = wxGzhCertFilePath;
    }

    public String getWxXcxCertFilePath() {
        return wxXcxCertFilePath;
    }

    public void setWxXcxCertFilePath(String wxXcxCertFilePath) {
        this.wxXcxCertFilePath = wxXcxCertFilePath;
    }

    public String getPpSuccessNotifyUrl() {
        return ppSuccessNotifyUrl;
    }

    public void setPpSuccessNotifyUrl(String ppSuccessNotifyUrl) {
        this.ppSuccessNotifyUrl = ppSuccessNotifyUrl;
    }

    public String getPpCancelNotifyUrl() {
        return ppCancelNotifyUrl;
    }

    public void setPpCancelNotifyUrl(String ppCancelNotifyUrl) {
        this.ppCancelNotifyUrl = ppCancelNotifyUrl;
    }

    public String getPpClientId() {
        return ppClientId;
    }

    public void setPpClientId(String ppClientId) {
        this.ppClientId = ppClientId;
    }

    public String getPpClientSecret() {
        return ppClientSecret;
    }

    public void setPpClientSecret(String ppClientSecret) {
        this.ppClientSecret = ppClientSecret;
    }

    public String getPpMode() {
        return ppMode;
    }

    public void setPpMode(String ppMode) {
        this.ppMode = ppMode;
    }

    public String getPpLocalNotifyUrl() {
        return ppLocalNotifyUrl;
    }

    public void setPpLocalNotifyUrl(String ppLocalNotifyUrl) {
        this.ppLocalNotifyUrl = ppLocalNotifyUrl;
    }

    public Integer getIsPaypalAble() {
        return isPaypalAble;
    }

    public void setIsPaypalAble(Integer isPaypalAble) {
        this.isPaypalAble = isPaypalAble;
    }

    public String getPpCurrency() {
        return ppCurrency;
    }

    public void setPpCurrency(String ppCurrency) {
        this.ppCurrency = ppCurrency;
    }

    public String getApacMerNo() {
        return apacMerNo;
    }

    public void setApacMerNo(String apacMerNo) {
        this.apacMerNo = apacMerNo;
    }

    public String getApacGatewayNo() {
        return apacGatewayNo;
    }

    public void setApacGatewayNo(String apacGatewayNo) {
        this.apacGatewayNo = apacGatewayNo;
    }

    public String getApacSignKey() {
        return apacSignKey;
    }

    public void setApacSignKey(String apacSignKey) {
        this.apacSignKey = apacSignKey;
    }

    public String getApacSignUrl() {
        return apacSignUrl;
    }

    public void setApacSignUrl(String apacSignUrl) {
        this.apacSignUrl = apacSignUrl;
    }

    public String getApacPayUrl() {
        return apacPayUrl;
    }

    public void setApacPayUrl(String apacPayUrl) {
        this.apacPayUrl = apacPayUrl;
    }

    public String getApacLocalUrl() {
        return apacLocalUrl;
    }

    public void setApacLocalUrl(String apacLocalUrl) {
        this.apacLocalUrl = apacLocalUrl;
    }

    public String getApacNotifyUrl() {
        return apacNotifyUrl;
    }

    public void setApacNotifyUrl(String apacNotifyUrl) {
        this.apacNotifyUrl = apacNotifyUrl;
    }

    public String getApacCheckUrl() {
        return apacCheckUrl;
    }

    public void setApacCheckUrl(String apacCheckUrl) {
        this.apacCheckUrl = apacCheckUrl;
    }

    public String getApacRefundUrl() {
        return apacRefundUrl;
    }

    public void setApacRefundUrl(String apacRefundUrl) {
        this.apacRefundUrl = apacRefundUrl;
    }

    public Integer getIsApacAble() {
        return isApacAble;
    }

    public void setIsApacAble(Integer isApacAble) {
        this.isApacAble = isApacAble;
    }

    public Integer getIsWalletAble() {
        return isWalletAble;
    }

    public void setIsWalletAble(Integer isWalletAble) {
        this.isWalletAble = isWalletAble;
    }

    public String getApacCurrency() {
        return apacCurrency;
    }

    public void setApacCurrency(String apacCurrency) {
        this.apacCurrency = apacCurrency;
    }

    public String getApacLocalReturnUrl() {
        return apacLocalReturnUrl;
    }

    public void setApacLocalReturnUrl(String apacLocalReturnUrl) {
        this.apacLocalReturnUrl = apacLocalReturnUrl;
    }

    public String getApacLocalCancelUrl() {
        return apacLocalCancelUrl;
    }

    public void setApacLocalCancelUrl(String apacLocalCancelUrl) {
        this.apacLocalCancelUrl = apacLocalCancelUrl;
    }
}
